package cn.tsmchina.one.dao.user;

import java.util.List;

import cn.tsmchina.one.domain.user.Customer;

public interface CustomerDao {
	
	public void addCustomer(Customer user);
	
	public void updateCustomer(Customer user);
	
	public Customer getCustomerByLoginId(Integer loginId);
	
	public List<Customer> getAllCustomers();

	Customer getCustomers(String userName, String password);
	
	public void deleteCustomer(long customerId);

	public Customer getCustomerById(long id);

}
